import request from '@/utils/request.js'
import apis from '@/utils/api'
/**
 * @param {Object} params
 * 开销
 */
export function getLossList(params) {
    return request.globalRequest(apis.getLossList, 'POST', params)
}
export function addLoss(params) {
    return request.globalRequest(apis.addLoss, 'POST', params)
}
export function delLoss(params) {
    return request.globalRequest(apis.delLoss, 'POST', params)
}
export function getLossDictionaries(params) {
    return request.globalRequest(apis.getLossDictionaries, 'POST', params)
}

export default {
	getLossList,
	delLoss,
	addLoss,
	getLossDictionaries,
}